<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2005"/>
<meta name="DC.rights.owner" content="(C) Copyright 2005"/>
<meta name="security" content="public"/>
<meta name="Robots" content="index,follow"/>
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference"/>
<meta name="DC.Title" content="Exclusion rules"/>
<meta name="DC.Relation" scheme="URI" content="../concepts/Configuring_on-access_scanning.html"/>
<meta name="DC.Format" content="XHTML"/>
<meta name="DC.Identifier" content="reference_788D5ABF2F564748A78C7A65EACF7C91"/>
<meta name="DC.Language" content="en-us"/>
<link rel="stylesheet" type="text/css" href="../commonltr.css"/>
<link rel="stylesheet" type="text/css" href="../DITA.css"/>
<title>Exclusion rules</title>
</head>
<body id="reference_788D5ABF2F564748A78C7A65EACF7C91"><a name="reference_788D5ABF2F564748A78C7A65EACF7C91"><!-- --></a>


  <h1 class="topictitle1">Exclusion rules</h1>

  <div id="body"><a name="body"><!-- --></a><div class="section" id="reference_788D5ABF2F564748A78C7A65EACF7C91__section_359EF32E2BA7433E85C725DBA6E681AB"><a name="reference_788D5ABF2F564748A78C7A65EACF7C91__section_359EF32E2BA7433E85C725DBA6E681AB"><!-- --></a>When you add or edit an exclusion, you can type any POSIX path, whether it is a volume, folder, or file. To specify which items are excluded, use the following rules:
<div class="tablenoborder"><a name="reference_788D5ABF2F564748A78C7A65EACF7C91__table_35609F294D0B44AD8A3591D93D623B99"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="reference_788D5ABF2F564748A78C7A65EACF7C91__table_35609F294D0B44AD8A3591D93D623B99" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="NaN%" id="d24e17">Item(s) to exclude</th>
<th valign="top" width="NaN%" id="d24e19">Syntax to use</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="NaN%" headers="d24e17 ">A folder and sub-folders recursively</td>
<td valign="top" width="NaN%" headers="d24e19 ">Suffix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e17 ">A folder but not sub-folders</td>
<td valign="top" width="NaN%" headers="d24e19 ">Suffix the exclusion with a double slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e17 ">A file</td>
<td valign="top" width="NaN%" headers="d24e19 ">Do 
<em>not</em>
 suffix the exclusion with a slash or double slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e17 ">A folder or file in a specific location</td>
<td valign="top" width="NaN%" headers="d24e19 ">Prefix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e17 ">A folder or file anywhere locally or on the network</td>
<td valign="top" width="NaN%" headers="d24e19 ">Do 
<em>not</em>
 prefix the exclusion with a slash</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e17 ">A file whose name has a specific filename extension</td>
<td valign="top" width="NaN%" headers="d24e19 ">Substitute an asterisk (*) for the filename stem</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="reference_788D5ABF2F564748A78C7A65EACF7C91__section_BFCE2146787642DC881F3DC0D0C52120"><a name="reference_788D5ABF2F564748A78C7A65EACF7C91__section_BFCE2146787642DC881F3DC0D0C52120"><!-- --></a><h4 class="sectiontitle">Examples</h4>
<div class="tablenoborder"><a name="reference_788D5ABF2F564748A78C7A65EACF7C91__table_D450A537C89A4CA4AC27927DA955519E"><!-- --></a><table cellpadding="4" cellspacing="0" summary="" id="reference_788D5ABF2F564748A78C7A65EACF7C91__table_D450A537C89A4CA4AC27927DA955519E" frame="border" border="1" rules="all"><thead align="left"><tr><th valign="top" width="NaN%" id="d24e67">Exclusion path</th>
<th valign="top" width="NaN%" id="d24e69">Item(s) that are excluded</th>
</tr>
</thead>
<tbody><tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">/MyFolder/MyApplication</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">The file <span class="filepath">MyApplication</span> in a specific location</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">/MyFolder/</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files in the folder <span class="filepath">MyFolder</span> in a specific location and
sub-folders recursively</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">/MyFolder//</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files in the folder <span class="filepath">MyFolder</span> in a specific location but not
sub-folders</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">MyFolder/MyApplication</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">The file <span class="filepath">MyApplication</span> in any folder that is called <span class="filepath">MyFolder</span>,
locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">MyFolder/</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files in any folder that is called <span class="filepath">MyFolder</span>, locally or on the
network, and sub-folders recursively</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">MyFolder//</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files in any folder that is called <span class="filepath">MyFolder</span>, locally or on the
network, but not sub-folders</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">MyApplication</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">The file <span class="filepath">MyApplication</span> anywhere locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">*.mov</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files whose filename extension is <span class="filepath">.mov</span> anywhere locally or on the network</td>
</tr>
<tr><td valign="top" width="NaN%" headers="d24e67 "><span class="filepath">/MyFolder/*.mov</span></td>
<td valign="top" width="NaN%" headers="d24e69 ">All files whose filename extension is <span class="filepath">.mov</span>
in a specific location</td>
</tr>
</tbody>
</table>
</div>
</div>

  </div>

<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="../concepts/Configuring_on-access_scanning.html" title="">Configuring on-access scanning</a></div>
</div>
</div>

</body>
</html>